package com.love.marriage.liveStreamingConfig.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.love.marriage.common.entity.BaseEntity;
import java.time.LocalTime;
import io.swagger.v3.oas.annotations.media.Schema;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * description:  用户直播配置表类
 * author:       alex
 * createDate: 2024-12-14 22:52:57
 * version:      1.0.0
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("live_streaming_config_t")
@Schema(description = "用户直播配置表")
public class LiveStreamingConfig extends BaseEntity<LiveStreamingConfig>{

    @Schema(description = "直播开启状态: 0=关闭, 1=开启", type = "Boolean", implementation = Boolean.class)
    @TableField("live_streaming_flag")
    private Boolean liveStreamingFlag;

    @Schema(description = "直播允许开始时间", type = "LocalTime", implementation = LocalTime.class)
    @TableField("start_time")
    private LocalTime startTime;

    @Schema(description = "直播允许结束时间", type = "LocalTime", implementation = LocalTime.class)
    @TableField("end_time")
    private LocalTime endTime;

}
